package ro.unibuc.hobbygroups.domain;


public class Picture extends Entity {
	
	/**
	 * The name this picture was uploaded with.
	 */
	private String initialName;
	
	/**
	 * The path on server where this picture can be loaded from
	 */
	private String storagePath;

	/**
	 * Description or notes for this picture
	 */
	private String description;
	
	/**
	 * The group this picture belongs to
	 */
	private Group group;
	
	/**
	 * The user this that uploaded the picture
	 */
	private User user;
	
	/**
	 * This will be the file extension (eg. jpg, png etc)
	 */
	private String type; 
	
	public String getInitialName() {
		return initialName;
	}

	public void setInitialName(String initialName) {
		this.initialName = initialName;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getStoragePath() {
		return storagePath;
	}

	public void setStoragePath(String storagePath) {
		this.storagePath = storagePath;
	}
	
	public Group getGroup() {
		return group;
	}

	public void setGroup(Group group) {
		this.group = group;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}
}
